const main = require('./main');

module.exports = (app) => {
  // app.post('/main', user.login);
  // 首页
  app.get('/', (req, res, next) => {
    res.render('admin/index.html', {
      userInfo: req.userInfo,
    });
  });
};
